#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <assert.h>

int my_strlen(const char* ret)
{
	int result = 0;
	assert(ret != NULL);
	while (*ret != '\0')
	{
		result++;
		ret++;
	}
	return result;
}
int main()
{
	char arr[] = "abcdefhdgfg";
	int num = my_strlen(arr);
	printf("%d\n", num);
	return 0;
}